<button onclick=updateArticle(this) data="{{ article.id }}">修改当前文章</button>
<button onclick=moveTo(this) data="{{ article.id }}">移动至</button>
<button onclick='deleteArticle("{{ article.id }}")'>删除文章</button>
<div style=text-align:center;margin:10px><h1>{{ article.title }}</h1></div>
<hr>
<div id=moveDiv></div>
<div style=padding:40px>{{ article.content | safe }}</div>
<hr>
<div><p><label>时间：</label>{{ article.time }}
    <p><label>排序：</label>{{ article.sort }}
    <p><label>是否结束：</label>{{ article.end }}</div>
<script>
    function moveTo(o){$.get("/article/move/"+$(o).attr("data")+"/",function(o){console.log(o),$("#moveDiv").html(o)})}
</script>